package com.qfjy.wuhao;

/**
 * @author : obito
 * @version : 1.0
 * @date : 2022/9/13 17:45
 */
public class Demo {
    public static void main(String[] args) {
        User user1 = new User("张三");
        user1.sendMessage("中介者模式——user1");

        User user2 = new User("李四");
        user2.sendMessage("中介者模式——user2");
    }
}
